<div class="m-dialog<% if(cls) {%> <%=cls%><% } %>">
   <% if(title) {%> <div class="dialog-head"><div class="title" node-name="title"><%=title%></div><% if(showClose) {%><div class="close-wrap" node-name="close"><i class="icon-close"></i> </div><% } %></div><% } %>
	<div class="dialog-inner">
		<div class="dialog-content" node-name="content"<% if(padding) {%> style="padding:<%= padding %>;"<% } %>><%- content -%></div>
		<% if(operates.length>0) {%><div class="dialog-operate"><% operates.forEach(function(item,index){ %><button class="alert<% if(item.cls) {%> <%=item.cls%><% } %>" data-index="<%=index%>" node-name="<%=item.name%>"><%- item.text -%></button><% }) %></div><% } %>
	</div>
</div>
padding